package cn.edu.hzvtc.listener;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

@Component
public class LoginListener {

    @JmsListener(destination = "logs")
    public void saveLogs(String log) {
        System.out.println("save logs: "+log);
    }
}
